class AddRolesToUser < ActiveRecord::Migration
  def self.up
    add_column :users, :administrator, :boolean, :default => false;
    add_column :users, :trainer, :boolean, :default => false;
    add_column :users, :athlete, :boolean, :default => false;
    add_column :users, :secretary, :boolean, :default => false;
  end

  def self.down
    remove_column :users, :administrator
    remove_column :users, :trainer
    remove_column :users, :athlete
    remove_column :users, :secretary
  end
end
